package com.movies.service;

import com.movies.dao.MovieDaoImpl;

import java.util.List;

public class MovieServiceImpl implements MovieService {
    MovieDaoImpl ms = new MovieDaoImpl();
    @Override
    /**创建一个查询电影院主页信方法*/
    public List queryCinema(int cinemaid) {
        return ms.queryCinema(cinemaid);
    }

    @Override
    /**创建一个查询播放档期计划方法*/
    public List queryProgram(int cinemaid, int movieid) {
        return ms.queryProgram(cinemaid, movieid);
    }
}
